package cn.kgc.web.servlet;

import javax.servlet.*;
import java.io.IOException;

public class MyServlet1 implements Servlet{
    public void init(ServletConfig servletConfig) throws ServletException {
        System.out.println("进入 init() ... ...");
    }

    public ServletConfig getServletConfig() {
        System.out.println("进入 getServletConfig() ... ...");
        return null;
    }

    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("进入 service() ... ...");
    }

    public String getServletInfo() {
        System.out.println("进入 getServletInfo() ... ...");
        return null;
    }

    public void destroy() {
        System.out.println("进入 destroy() ... ...");

    }
}
